

package seeqpod;

import java.util.ArrayList;


class SearchHistory {
    private ArrayList<String> history = new ArrayList();
    
    public void add(String search){
        history.add(search);
    }
    public String get(int position){
        return history.get(position);
    }
    public void clear(){
        history.clear();
    }
    public boolean search(String text){
        return history.contains(text);
    }
}
